/*
 * Map.h
 *
 *  Created on: Dec 13, 2010
 *      Author: Thanh
 */

#ifndef MAP_H_
#define MAP_H_

#include <vector>
#include <fstream>
#include <string>
#include <strstream>
#include <iostream>

using namespace std;

struct M {
	float top, left, bottom, right, height;
};

class Map {
public:
	Map();
	virtual ~Map();
	void loadData(string filename);
	float getHeight(float x, float y);

	vector<M*> map;

};

#endif /* MAP_H_ */
